#!/bin/bash
EXPECTED_ARGS=5

if [ $# -lt $EXPECTED_ARGS ]; then
	echo "Usage: runtest <prg> <matrixSize> <blockSize> <inputfile> <streamLength>"
	exit;
fi



echo $1 $2 $3 $4 1 $5; #execute the program
$1 $2 $3 $4 1 $5; #execute the program
echo $1 $2 $3 $4 2 $5;
$1 $2 $3 $4 2 $5;
echo $1 $2 $3 $4 3 $5;
$1 $2 $3 $4 3 $5;
echo $1 $2 $3 $4 4 $5;
$1 $2 $3 $4 4 $5;
echo $1 $2 $3 $4 5 $5;
$1 $2 $3 $4 5 $5;
echo $1 $2 $3 $4 6 $5;
$1 $2 $3 $4 6 $5;
echo $1 $2 $3 $4 7 $5;
$1 $2 $3 $4 7 $5;
echo $1 $2 $3 $4 8 $5;
$1 $2 $3 $4 8 $5;
echo $1 $2 $3 $4 10 $5;
$1 $2 $3 $4 10 $5;
echo $1 $2 $3 $4 12 $5;
$1 $2 $3 $4 12 $5;

